package com.bst.etl.datax.service.impl;

import com.bst.etl.datax.entity.JobGroup;
import com.bst.etl.datax.mapper.JobGroupMapper;
import com.bst.etl.datax.service.JobGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * core job action for xxl-job
 *
 * @author xuxueli 2016-5-28 15:30:33
 */
@Service("jobGroupService")
public class JobGroupServiceImpl implements JobGroupService {

    @Autowired
    JobGroupMapper jobGroupMapper;

    @Override
    public List<JobGroup> findAll() {
        return jobGroupMapper.findAll();
    }
}
